package com.ouc.openplatform.ktsy.task;

import com.github.ltsopensource.core.domain.Action;
import com.github.ltsopensource.core.domain.Job;
import com.github.ltsopensource.tasktracker.Result;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 账号过期定期执行扫描
 * @author 01311917
 */
public class AccountExpireJob {
	private static final Logger LOG = LoggerFactory.getLogger(AccountExpireJob.class);
	public Result run(Job job) throws Throwable {
		//业务日志
		LOG.info("用户过期状态任务检查更新完成");
		//请根据任务不同的执行情况返回不同的result
		Result successResult = new Result(Action.EXECUTE_SUCCESS,"成功提示信息");
		String loginname = "A0010837";
		String password  = "123456";
		LOG.info("AccountExpireJob任务启动成功！");
		return successResult;
	}
}
